Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

lotus.domino.Session, java.lang.LinkageError: JVMJ9VM069

Hello,

i´ve got two plugins: The first one is some kind of 'tool plugin', a collection of common classes/methods which might be useful in other plugins.
The second plugin should simply call those 'tools'.
The problem: When calling any method of the lotus.domino.Session class in the 'other' plugin, a java.lang.LinkageError: JVMJ9VM069 will be thrown.

To analyze this problem, i reduced the tool plugin to export this class only:

package test;
import lotus.domino.NotesException;
import lotus.domino.Session;
public class NotesTest {

public static void test(Session session){
try {
System.out.println("Plugin A: Server: "+session.getServerName());
} catch (NotesException e) {
e.printStackTrace();
}

}
}


So this simple class/method gets an session object and prints the server name.

Another plugin might 'consume' this method like this:

...
NotesThread.sinitThread();
try {
Session session=NotesFactory.createSession();
System.out.println("Plugin B: Server: "+session.getServerName());
NotesTest.test(session);
}catch (NotesException e){
e.printStackTrace();
}finally{
NotesThread.stermThread();
}
...

The first print (Plugin B...) works, the second print (Plugin A) throws the error mentioned before.
Using NotesSessionJob instead of NotesThread/NotesFactory doesnt help.


Those two plugins have different class loaders, i thought maybe Notes doesnt like this.
So i removed the session parameter and created an own session in the tool plugin.
Again, i tries both NotesThread/NotesFactory and NotesSessionJob.
Surprise, i got another error:
java.lang.UnsatisfiedLinkError: nlsxbe (Library is already loaded in another ClassLoader)


When moving the 'tools class' from plugin A to plugin B, everything is fine.

In the original version of this tool plugin, the tool class was not exported/imported but supplied as an osgi service. Which means, a service doesnt help, too.


Is this a known limitation of Notes or do i miss something?

I´m using Notes 8.5.1 FP1, due to some reason it´s not possible to try FP2 yet.


Thanks in advance for any help.

Thomas


Feedback number WEBB85KBVW created by Thomas TM Martin on 05/18/2010


Feedback response number WEBB8ETFJ2 created by ~Lex Asaniterjip on 03/10/2011

Open Mic Call: All about Notes data... (~Dana Zenkilita... 24.Feb.11)
. . DOLS (~Mario Kiaings 9.Mar.11)
. . Problems losing content of file att... (~Vera Brenikony... 9.Mar.11)
. . . . Known issue (fixed in 8.5.2) (~Tip Opjipymanl... 10.Mar.11)
. . Problems with OpenHelpDocument (~Vera Brenikony... 9.Mar.11)
. . Replica ID change (~Ted Nimkroster... 10.Mar.11)
. . Programatically opening an composit... (~Lex Asaniterji... 10.Mar.11)
. . Access NotesAPI on startup (~Lex Asaniterji... 10.Mar.11)
. . lotus.domino.Session, java.lang.Lin... (~Lex Asaniterji... 10.Mar.11)
. . Http Service (~Lex Asaniterji... 10.Mar.11)
. . Notes error: Index is not to be gen... (~Lex Asaniterji... 10.Mar.11)
. . Problem with NotesDatabaseData clas... (~Lex Asaniterji... 10.Mar.11)
. . Sync databases between domino serve... (~Lorraine Umniz... 15.Mar.11)
. . Running maintenance utilities on ND... (~Mario Desfrees... 16.Mar.11)
. . Answers? (~Vera Brenikony... 31.Mar.11)
. . Are there plans to increase the siz... (~Holly Brefreel... 9.Mar.11)
. . Corrupted Database (~Justin Desfoob... 15.Mar.11)
. . . . Contact (~Miriam Quetama... 25.Apr.12)
. . How do DAOS databases behave? (~Holly Nonresat... 16.Mar.11)
. . Compacting mail.box Database (~Frank Despones... 16.Mar.11)
. . . . Compacting mail boxes (~Holly Nonresat... 29.Jul.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS